import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

Vue.directive('haokan-big',function(element,{value}){
    element.innerText = value*10
    element.style.color = 'orange'
    element.style.backgroundColor = 'green'
})


new Vue({
    el:'#app',
    render: h => h(App),
    beforeCreate(){
        Vue.prototype.$bus = this
    }
})